﻿<%@ Page Title="确认发电处理" Language="C#" MasterPageFile="~/Web/Main.Master" AutoEventWireup="true" CodeBehind="PowerControlProcess.aspx.cs" Inherits="BOMS.WebUI.Web.PowerControl.PowerControlProcess" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
    function btnSave_onclick() {
    }
    function dialogReturn(retval) {
        var dialog = top.Dialog.getInstance('Diag2');
        dialog.addParam("returnValue", retval);
        if (retval == "true") {
            alert("发电处理成功！");
        } else if (retval == "false") {
            alert("发电处理失败！");
        }
        //else if (retval == "cancel")
        dialog.CancelButton.onclick();
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center" border="0">
            <tr>
                <td class="protablerow3" height="30">基站名称：</td>
                <td class="protablerow2" align="left"><asp:Label id="lblHostName" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td class="protablerow3" height="30">停电时间：</td>
                <td class="protablerow1" align="left"><asp:Label id="lblPowerDownTime" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td class="protablerow3" height="30">可用放电时长：</td>
                <td class="protablerow2" align="left"><asp:Label id="lblResDscTime" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td class="protablerow3" height="30">处理人：</td>
                <td class="protablerow1" align="left"><asp:TextBox runat="server" ID="txtOperator"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="protablerow3" height="30">处理信息：</td>
                <td class="protablerow2" align="left">
                <textarea runat="server" id="txtOperateDescr" style="width:200px;height:30px;line-height:30px; border:#ccc 1px solid;font-size:16px;overflow:hidden;color:#cd0000;font-weight:bold;" readonly="true">请确认是否已通知发电！</textarea>
                </td>
            </tr>
            <tr style="BACKGROUND-COLOR:#D0D8E8">
                <td align="center" colspan="2" height="30">
                <asp:Button runat="server" id="btnSave" Text="确 认" style="margin-right:15px;" class="btnbg" onclick="btnSave_Click" />
                <input type="reset" value="取 消" onclick="dialogReturn('cancel');" class="btnbg" />
                </td>
            </tr>
        </table>
</asp:Content>